package com.jilian.mydemo.modul.user.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.jilian.mydemo.MyApplication;
import com.jilian.mydemo.R;
import com.jilian.mydemo.base.BaseActivity;
import com.jilian.mydemo.modul.exam.ui.AnswerQuestionsActivity;
import com.jilian.mydemo.modul.exam.ui.ExamResultActivity;
import com.jilian.mydemo.modul.exam.ui.StartExamActivity;
import com.jilian.mydemo.modul.main.ui.WelcomeActivity;

/**
 * 正在审核
 */
public class IsReviewingActivity extends BaseActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        MyApplication.addActivity(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        MyApplication.removeActivity(this);
    }


    @Override
    protected void createViewModel() {

    }

    @Override
    public int intiLayout() {

        return R.layout.activity_isreviewing;
    }

    @Override
    public void initView() {
        setNormalTitle(getIntent().getStringExtra("title"), v -> finish());

    }

    @Override
    public void initData() {
        MyApplication.clearSpecifyActivities(new Class[]{WelcomeActivity.class, RealNameAuthenticationActivity.class, ExamResultActivity.class, AnswerQuestionsActivity.class, StartExamActivity.class});
    }

    @Override
    public void initListener() {
    }
}
